package com.evil.kingdom.pojo.dto.alive;

import com.evil.kingdom.pojo.enums.WarfareOutcomeEnum;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * 长连接-出征结果
 *
 * @author liyang
 * @date 2024-06-01 18:08
 */
@Setter
@Getter
public class AliveWarfareOutcome implements AliveMessageData, Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 出征结果
     */
    private WarfareOutcomeEnum outcomeEnum;

    public AliveWarfareOutcome() {
    }

    public AliveWarfareOutcome(WarfareOutcomeEnum outcomeEnum) {
        this.outcomeEnum = outcomeEnum;
    }
}
